import AutoImport from 'unplugin-auto-import/vite';

export default function autoUseAutoImport() {
  return AutoImport({
    imports: ['vue', 'uni-app'],
    dts: 'src/types/auto-imports.d.ts',
    dirs: ['src/utils'],
    vueTemplate: true,
  });
}
